package zoo2;


public class UserAnimal extends User
{
    public UserAnimal(String animalName){
        super.setUserName(animalName);
    }

    //动物年龄
    private int animalAge;
    //动物所属园区
    private String animalArea;

    public int getAnimalAge() {
        return animalAge;
    }

    public void setAnimalAge(int animalAge) {
        this.animalAge = animalAge;
    }



    public String getAnimalArea() {
        return animalArea;
    }

    public void setAnimalArea(String animalArea) {
        this.animalArea = animalArea;
    }







}
